cmake_minimum_required(VERSION 2.8)
project(mavlink)
add_executable(${PROJECT_NAME} main.cpp Markup.cpp Format.cpp Mavlink.cpp)
file(COPY heartbeat.dat DESTINATION "${CMAKE_CURRENT_BINARY_DIR}")
file(COPY xml DESTINATION "${CMAKE_CURRENT_BINARY_DIR}")
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin)
install(FILES heartbeat.dat DESTINATION bin)
install(DIRECTORY xml DESTINATION bin)